package com.legoo.studaychineseonline.bean;

import java.util.List;

public class GongKaiList {

    /**
     * code : 0
     * tag :
     * data : {"gongkai_list":[{"name_zh":"鑫鑫教你学中文","title_image":"pic/video/20190406/acda105a-583b-11e9-8f7e-309c23d6f138.png","name_en":"Xinxin's Class","id":"5ca84b4aedf32929ac466857","teacher":{"nickname":"","username":"teacher81","type":"teacher","id":"5c98a21fedf3291f04011950","icon":"","email":"mlzx@acord.cn","phone":""},"category":{"name_zh":"公开课分类二","name_en":"public class B","id":"5ca869eaedf32942d4f32534"},"difficulty":{"name_zh":"相当于小学三年级","name_en":"school 3","id":"5c9b49a1edf32948a545fc62"}}]}
     * message : success
     */

    private int code;
    private String tag;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private List<GongkaiListBean> gongkai_list;

        public List<GongkaiListBean> getGongkai_list() {
            return gongkai_list;
        }

        public void setGongkai_list(List<GongkaiListBean> gongkai_list) {
            this.gongkai_list = gongkai_list;
        }

        public static class GongkaiListBean {
            /**
             * name_zh : 鑫鑫教你学中文
             * title_image : pic/video/20190406/acda105a-583b-11e9-8f7e-309c23d6f138.png
             * name_en : Xinxin's Class
             * id : 5ca84b4aedf32929ac466857
             * teacher : {"nickname":"","username":"teacher81","type":"teacher","id":"5c98a21fedf3291f04011950","icon":"","email":"mlzx@acord.cn","phone":""}
             * category : {"name_zh":"公开课分类二","name_en":"public class B","id":"5ca869eaedf32942d4f32534"}
             * difficulty : {"name_zh":"相当于小学三年级","name_en":"school 3","id":"5c9b49a1edf32948a545fc62"}
             */

            private String name_zh;
            private String title_image;
            private String name_en;
            private String id;
            private TeacherBean teacher;
            private CategoryBean category;
            private DifficultyBean difficulty;

            public String getName_zh() {
                return name_zh;
            }

            public void setName_zh(String name_zh) {
                this.name_zh = name_zh;
            }

            public String getTitle_image() {
                return title_image;
            }

            public void setTitle_image(String title_image) {
                this.title_image = title_image;
            }

            public String getName_en() {
                return name_en;
            }

            public void setName_en(String name_en) {
                this.name_en = name_en;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public TeacherBean getTeacher() {
                return teacher;
            }

            public void setTeacher(TeacherBean teacher) {
                this.teacher = teacher;
            }

            public CategoryBean getCategory() {
                return category;
            }

            public void setCategory(CategoryBean category) {
                this.category = category;
            }

            public DifficultyBean getDifficulty() {
                return difficulty;
            }

            public void setDifficulty(DifficultyBean difficulty) {
                this.difficulty = difficulty;
            }

            public static class TeacherBean {
                /**
                 * nickname :
                 * username : teacher81
                 * type : teacher
                 * id : 5c98a21fedf3291f04011950
                 * icon :
                 * email : mlzx@acord.cn
                 * phone :
                 */

                private String nickname;
                private String username;
                private String type;
                private String id;
                private String icon;
                private String email;
                private String phone;

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }
            }

            public static class CategoryBean {
                /**
                 * name_zh : 公开课分类二
                 * name_en : public class B
                 * id : 5ca869eaedf32942d4f32534
                 */

                private String name_zh;
                private String name_en;
                private String id;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public static class DifficultyBean {
                /**
                 * name_zh : 相当于小学三年级
                 * name_en : school 3
                 * id : 5c9b49a1edf32948a545fc62
                 */

                private String name_zh;
                private String name_en;
                private String id;

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
    }
}
